public class Test {
    public static void main(String[] args) {
        int[] nums = {1,2,3,4,5,7,8};
        LostNumbers it = new LostNumbers();
        int a = it.missingNumber(nums);
        System.out.println(a);

        int b = it.missingNumber1(nums);
        System.out.println(b);
    }

}
